package com.luo.backend.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 商家信息请求DTO（用于注册时提供商家信息）
 */
public class MerchantInfoRequest {
    
    @NotBlank(message = "店铺名称不能为空")
    @Size(min = 2, max = 100, message = "店铺名称长度为2-100个字符")
    private String name;
    
    @NotBlank(message = "店铺地址不能为空")
    @Size(min = 5, max = 200, message = "店铺地址长度为5-200个字符")
    private String address;
    
    @NotBlank(message = "店铺电话不能为空")
    private String phone;
    
    @Size(max = 200, message = "店铺简介最多200个字符")
    private String description;
    
    // 构造函数
    public MerchantInfoRequest() {}
    
    // Getters and Setters
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getAddress() {
        return address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
}


